package com.qf.service.Impl;

import com.qf.dao.dizhiDao;
import com.qf.pojo.TbAddress1;
import com.qf.service.dizhiservice;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


@Service
public class dizhiserviceImpl implements dizhiservice {
    private dizhiDao dizhiDao;

    @Autowired
    public void dizhiDao(dizhiDao dizhiDao){
        this.dizhiDao = dizhiDao;
    }

    @Override

    public void adddizhi(TbAddress1 tbAddress) {
        dizhiDao.adddizhi(tbAddress);
    }

    @Override
    public void deletedizhi(int id) {
        dizhiDao.deletedizhi(id);
    }

    @Override
    public void updatedizhi(TbAddress1 tbAddress1) {

        dizhiDao.updatedizhi(tbAddress1);
    }
}
